//
//  LGShotr.h
//  lgdw
//
//  Created by Apple on 15/12/11.
//  Copyright © 2015年 Apple. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LGShotr : NSObject
/*"title": "\u5751\u7239\u8d27\uff0c,
 "sid": 538,
 "user_id": 11038,
 "price": 899,
 "pic": "http:\/\/imgs.duwu.me\/duwu\/ShortEssay\/20160114\/201601141209191675256432910.jpg",
 "comment_num": 3,
 "like_status": 0,
 "follow_status": 0,
 "like_num": 2,
 "avatar": "http:\/\/imgs.duwu.me\/duwu\/avatar\/2016-01-14\/110381452744279.jpg",
 "name": "Joyceshow",
 "user_type": 0,
 "create_time": 1452744559
 
 */
/** 发布者图片 url */
@property (nonatomic, copy) NSString *avatar;
/** 发布者姓名 */
@property (nonatomic, copy) NSString *name;
/** 日期 */
@property (nonatomic , assign) NSNumber *create_time;
/** 关注 */
@property (nonatomic , assign) BOOL follow_status;
/** 图片 */
@property (nonatomic , copy) NSString *pic;
/** 标题文字  */
@property (nonatomic, copy) NSString *title;
/** 点赞 */
@property (nonatomic, assign) NSNumber *like_num;
/** 评论 */
@property (nonatomic, assign) NSNumber *comment_num;
/** id */
@property (nonatomic , assign) NSNumber *sid;



/** 字典转模型  */
+ (instancetype)shotrWithDict:(NSDictionary *)dict;

///发送异步请求，获取数据，字典转模型
+ (void)shotrListWithSuccessBlock:(void(^)(NSArray *array))successBlock errorBlock:(void(^)(NSError *error))errorBlock;

@end
